class_name JiGuan
extends Area2D


func attack_player(body):
	if body is Player:
		body.back((body.global_position-self.global_position).normalized())


func _on_body_entered(body: Node2D) -> void:
	attack_player(body)
